<?php

require_once "autoload.php";

  $uploadConf = [
            "accessKeyId" => "STS.NTCmLSHMDKezXTsDvJS3Uu24V",
            "accessKeySecret" => "5119onA8pHE8LuVnTJD4QJhq1hojm1CLLyE25tECyGau",
            "bucketName" => "ycimage",
            "endpoint" => "oss-cn-shenzhen.aliyuncs.com",
            "expiration" => "2022-07-18T02:36:44Z",
    
        ];
$client = \OSS\OssTest::test();


var_dump($client);

var_dump(\OSS\OssClient::checkEnv());

$c = new \OSS\OssClient($uploadConf['accessKeyId'],$uploadConf['accessKeySecret'],$uploadConf['endpoint']);